package com.woniuxy02;

import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-05-22 14:06
 */
public class Test08 {
    public static void main(String[] args) {
        System.out.println("&&运算");
        System.out.println("true&&true="+(true&&true));
        System.out.println("true&&false="+(true&&false));
        System.out.println("false&&true="+(false&&true));
        System.out.println("false&&false="+(false&&false));
        System.out.println("||运算");
        System.out.println("true||true="+(true||true));
        System.out.println("true||false="+(true||false));
        System.out.println("false||true="+(false||true));
        System.out.println("false||false="+(false||false));
        System.out.println("!运算");
        System.out.println(!true);
        System.out.println(!false);
    }
}
